import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './style.css'
import App from './App.vue'
import router from './router'
import store from './store'
const app = createApp(App)
app.use(router).use(store).use(ElementPlus).mount('#app')
//vue devtools生效
if (process.env.NODE_ENV === 'development') {

    if ('__VUE_DEVTOOLS_GLOBAL_HOOK__' in window) {

        window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue = app

    }

}